package com.cch.cooperation.common.web.session;

import lombok.Data;

import java.io.Serializable;

@Data
public class Session<T extends Object> implements Serializable {

    private String sessionId;
    private String accessToken;
    private T data;

    public Session(){}

    public Session(String accessToken, String sessionId, T data) {
        this.accessToken = accessToken;
        this.sessionId = sessionId;
        this.data = data;
    }
}
